#!/usr/bin/python
# -*- coding: cp1250 -*-

from pepe.glib import *
from pepe.p_datetime.date_format_MMM import enMMMtoISO

of = open('txt_holidays_iso_20091004-1817.txt', 'w')
lino = 0
for line in bt.lines('txt_holidays_ddmmmyyyy_20091004-1817.txt'):
    line = re.sub('\n', '', line)
    x, y = string.split(line, '\t')
    #print x, y
    y = enMMMtoISO(y)
    #print x, y
    line = re.sub('', '', line)
    of.write("%s\t%s\n" % (x, y))
of.close()

